<?php
/*
 * Created on 08.01.2007
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */

m2import('phpinchains/psp/Tag.php');

class xt_paginatorparamHandler extends phpinchains_psp_Tag
{

    /**
     * Is a body tag (if false, body is ignored)
     */
    var $tagType = PSP_EMPTY_TAG;
    /**
     * Tag name in form namespace:tagname
     */
    var $tagName   = 'xt:paginatorparam';
    var $requiredAttributes = array(
        'name'  => '*'
    );
  
    function doStartTag()
    {
        $params = $this->actionform->get('__paginatorparams');
        $params[$this->getAttribute('name')] = urlencode($this->getAttribute('value'));
        $this->actionform->set('__paginatorparams', $params);
        return PSP_SKIP_BODY;
    }
    
}
?>